<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>會員登入</title>
<style>
.new_loginbutton {
	font-size: 1em;
	cursor: pointer;
	border: 1px outset #ccc;
	color: #000;
	font-weight: normal;
	margin: 2px 0;
}

#loginbox {
	width: 250px;
	text-align: left;
	padding: 0 4px;
	margin: 8% 0 0 20%;
}
</style>
</head>
<body>
	<div>
		<div id="loginbox">
			<fieldset>
				<legend>會員專區</legend>

				<form action="" method="post">
					帳號:<input type="text" name="user"> <br> 密碼:<input
						type="password" name="paswd"> <br> 驗證碼:<img
						src="Captcha.servlet" id="picture">&nbsp; <input type="button"
						value="挖看謀" onclick="reload()"> <br> <input
						type="text" name="captcha"> <br> <input
						class="new_loginbutton" type="submit" value="登入">
				</form>
				<p>
					<a href="addmember.jsp">免費註冊</a> | <a href="forget.jsp"
						target="_blank">忘記密碼</a>
				</p>
				<font color="Red">${errmes}</font>
			</fieldset>
		</div>
	</div>
</body>
<script>
	function reload() {
		document.getElementById("picture").src = "Captcha.servlet";
	}
</script>
</html>